Removed hardcoded values in memory repartition