A Compiler Method for Memory-Conscious Mapping of Applications on Coarse-Grained Reconfigurable Architectures